﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    public class AlsupplybusinessController : Controller
    {
        private readonly IConfiguration _configuration;

        public AlsupplybusinessController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        /// <summary>
        /// 原料供应商列表
        /// </summary>
        /// <returns></returns>
        public IActionResult GetAlsupply()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        ///审批流程显示
        /// </summary>
        /// <returns></returns>
        public IActionResult GetApplit()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }


        /// <summary>
        ///审批流程新增
        /// </summary>
        /// <returns></returns>
        public IActionResult AddApplit()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

    }
}
